we-dont-have-the-needed-fonts
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Sat, 27 Jan 2024 13:25:02 +0000 (13:25 +0000)
committerRene Engelhard <rene@debian.org>
Sat, 27 Jan 2024 13:25:02 +0000 (13:25 +0000)
Gbp-Pq: Name we-dont-have-the-needed-fonts.diff

sw/qa/core/text/text.cxx

index 666e6d29f250d8bfc7cbad44244a800e18f7e533..dcd891ea7919c7c1a0b1650922eb660fe962576b 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <swmodeltestbase.hxx>
 
+#include <config_fonts.h>
+
 #include <memory>
 
 #include <com/sun/star/text/BibliographyDataField.hpp>
@@ -1480,6 +1482,8 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testParaUpperMarginFlyIntersect)
     CPPUNIT_ASSERT_EQUAL(521, nHeight);
 }
 
+/* needs Source Han Serif SC*/
+#if HAVE_MORE_FONTS
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
 {
     // Load the document.
@@ -1517,6 +1521,7 @@ CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testTdf129810)
         }
     }
 }
+#endif
 
 CPPUNIT_TEST_FIXTURE(SwCoreTextTest, testScriptinfosurrogatePairs)
 {